package com.wenxixuanwu.fruitstore.Vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class ProductVo {
    private Integer id; //别告诉我这个都不知道……
    private String url; //商品图片
    private String name;
    private Integer count; //库存数量，记得和库存表的连接
    private Integer saleCount; //销量
    private Double oldPrice; //原价
    private Double price;//特价
    private String detail;//详细信息
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date created;  //发布时间  导包java.util
    private String category;
    private String brand;
    private String kind;
    private String origin;
}
